import { createApp } from 'vue';
import App from './App.vue';
import './assets/style/tailwind.css';
import 'tailwindcss/tailwind.css';
import './demos/ipc';
import Antd from 'ant-design-vue';
import './assets/style/reset.scss';
// If you want use Node.js, the`nodeIntegration` needs to be enabled in the Main process.
// import './demos/node';
import 'ant-design-vue/dist/reset.css';
import router from './router';
const app = createApp(App);

app.use(router);
app.use(Antd);
app.mount('#app').$nextTick(() => {
  postMessage({ payload: 'removeLoading' }, '*');
});
